package com.xzq.erp.mapper;

import com.github.pagehelper.Page;
import com.xzq.erp.domain.po.SalesOpportunity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xzq.erp.domain.query.SalesOpportunityPageQuery;
import com.xzq.erp.domain.vo.SalesOpportunityVO;

import java.util.List;

/**
 * <p>
 * 销售机会表 Mapper 接口
 * </p>
 *
 * @author xzq
 * @since 2025-05-13
 */
public interface SalesOpportunityMapper extends BaseMapper<SalesOpportunity> {

    /**
     * 分页查询
     * @param query
     * @return
     */
    Page<SalesOpportunityVO> getSalesOpportunityList(SalesOpportunityPageQuery query);
}
